<div class="loaiphongtraos view">
<h2><?php  __('Loaiphongtrao');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $loaiphongtrao['Loaiphongtrao']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Tenloaiphongtrao'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $loaiphongtrao['Loaiphongtrao']['tenloaiphongtrao']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ghichu'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $loaiphongtrao['Loaiphongtrao']['ghichu']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Loaiphongtrao', true), array('action' => 'edit', $loaiphongtrao['Loaiphongtrao']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Loaiphongtrao', true), array('action' => 'delete', $loaiphongtrao['Loaiphongtrao']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $loaiphongtrao['Loaiphongtrao']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Loaiphongtraos', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Loaiphongtrao', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phongtraocbs', true), array('controller' => 'phongtraocbs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phongtraocb', true), array('controller' => 'phongtraocbs', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phongtraokhoas', true), array('controller' => 'phongtraokhoas', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phongtraokhoa', true), array('controller' => 'phongtraokhoas', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Phongtraosvs', true), array('controller' => 'phongtraosvs', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Phongtraosv', true), array('controller' => 'phongtraosvs', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Phongtraocbs');?></h3>
	<?php if (!empty($loaiphongtrao['Phongtraocb'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Loaiphongtrao Id'); ?></th>
		<th><?php __('Chidoansv Id'); ?></th>
		<th><?php __('Cap Id'); ?></th>
		<th><?php __('Tenphongtrao'); ?></th>
		<th><?php __('Ngaybatdau'); ?></th>
		<th><?php __('Thanhtich'); ?></th>
		<th><?php __('Ngayketthuc'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($loaiphongtrao['Phongtraocb'] as $phongtraocb):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $phongtraocb['id'];?></td>
			<td><?php echo $phongtraocb['loaiphongtrao_id'];?></td>
			<td><?php echo $phongtraocb['chidoansv_id'];?></td>
			<td><?php echo $phongtraocb['cap_id'];?></td>
			<td><?php echo $phongtraocb['tenphongtrao'];?></td>
			<td><?php echo $phongtraocb['ngaybatdau'];?></td>
			<td><?php echo $phongtraocb['thanhtich'];?></td>
			<td><?php echo $phongtraocb['ngayketthuc'];?></td>
			<td><?php echo $phongtraocb['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'phongtraocbs', 'action' => 'view', $phongtraocb['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'phongtraocbs', 'action' => 'edit', $phongtraocb['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'phongtraocbs', 'action' => 'delete', $phongtraocb['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phongtraocb['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Phongtraocb', true), array('controller' => 'phongtraocbs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Phongtraokhoas');?></h3>
	<?php if (!empty($loaiphongtrao['Phongtraokhoa'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Khoa Id'); ?></th>
		<th><?php __('Cap Id'); ?></th>
		<th><?php __('Loaiphongtrao Id'); ?></th>
		<th><?php __('Tenphongtrao'); ?></th>
		<th><?php __('Ngaybatdau'); ?></th>
		<th><?php __('Ngayketthuc'); ?></th>
		<th><?php __('Thanhtich'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($loaiphongtrao['Phongtraokhoa'] as $phongtraokhoa):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $phongtraokhoa['id'];?></td>
			<td><?php echo $phongtraokhoa['khoa_id'];?></td>
			<td><?php echo $phongtraokhoa['cap_id'];?></td>
			<td><?php echo $phongtraokhoa['loaiphongtrao_id'];?></td>
			<td><?php echo $phongtraokhoa['tenphongtrao'];?></td>
			<td><?php echo $phongtraokhoa['ngaybatdau'];?></td>
			<td><?php echo $phongtraokhoa['ngayketthuc'];?></td>
			<td><?php echo $phongtraokhoa['thanhtich'];?></td>
			<td><?php echo $phongtraokhoa['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'phongtraokhoas', 'action' => 'view', $phongtraokhoa['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'phongtraokhoas', 'action' => 'edit', $phongtraokhoa['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'phongtraokhoas', 'action' => 'delete', $phongtraokhoa['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phongtraokhoa['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Phongtraokhoa', true), array('controller' => 'phongtraokhoas', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Phongtraosvs');?></h3>
	<?php if (!empty($loaiphongtrao['Phongtraosv'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Cap Id'); ?></th>
		<th><?php __('Chidoansv Id'); ?></th>
		<th><?php __('Loaiphongtrao Id'); ?></th>
		<th><?php __('Tenphongtrao'); ?></th>
		<th><?php __('Ngaybatdau'); ?></th>
		<th><?php __('Ngayketthuc'); ?></th>
		<th><?php __('Ghichu'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($loaiphongtrao['Phongtraosv'] as $phongtraosv):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $phongtraosv['id'];?></td>
			<td><?php echo $phongtraosv['cap_id'];?></td>
			<td><?php echo $phongtraosv['chidoansv_id'];?></td>
			<td><?php echo $phongtraosv['loaiphongtrao_id'];?></td>
			<td><?php echo $phongtraosv['tenphongtrao'];?></td>
			<td><?php echo $phongtraosv['ngaybatdau'];?></td>
			<td><?php echo $phongtraosv['ngayketthuc'];?></td>
			<td><?php echo $phongtraosv['ghichu'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'phongtraosvs', 'action' => 'view', $phongtraosv['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'phongtraosvs', 'action' => 'edit', $phongtraosv['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'phongtraosvs', 'action' => 'delete', $phongtraosv['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $phongtraosv['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Phongtraosv', true), array('controller' => 'phongtraosvs', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
